package com.knowledgegraph.zhongyao.mapper;

import java.util.List;
import com.knowledgegraph.zhongyao.domain.Prescriptiontype;

/**
 * prescriptiontypeMapper接口
 * 
 * @author ruoyi
 * @date 2023-07-03
 */
public interface PrescriptiontypeMapper 
{
    /**
     * 查询prescriptiontype
     * 
     * @param prescriptionkey prescriptiontype主键
     * @return prescriptiontype
     */
    public Prescriptiontype selectPrescriptiontypeByPrescriptionkey(String prescriptionkey);

    /**
     * 查询prescriptiontype列表
     * 
     * @param prescriptiontype prescriptiontype
     * @return prescriptiontype集合
     */
    public List<Prescriptiontype> selectPrescriptiontypeList(Prescriptiontype prescriptiontype);

    /**
     * 新增prescriptiontype
     * 
     * @param prescriptiontype prescriptiontype
     * @return 结果
     */
    public int insertPrescriptiontype(Prescriptiontype prescriptiontype);

    /**
     * 修改prescriptiontype
     * 
     * @param prescriptiontype prescriptiontype
     * @return 结果
     */
    public int updatePrescriptiontype(Prescriptiontype prescriptiontype);

    /**
     * 删除prescriptiontype
     * 
     * @param prescriptionkey prescriptiontype主键
     * @return 结果
     */
    public int deletePrescriptiontypeByPrescriptionkey(String prescriptionkey);

    /**
     * 批量删除prescriptiontype
     * 
     * @param prescriptionkeys 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePrescriptiontypeByPrescriptionkeys(String[] prescriptionkeys);
}
